package com.yh.bean;

import java.text.SimpleDateFormat;
import java.util.Date;

public class user {
	  private int id;
      private String username;
      private Date birthday;
      private String sex;
      private String address;
      private String birth_day;
      
      
	public String getBirth_day() {
		return birth_day;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		SimpleDateFormat saf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		this.birth_day=saf.format(birthday);
		this.birthday = birthday;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
}
